/*
 * Copyright (C) 2018 Logos Technology Ltd.
 */

package com.logos.tool.location;

import com.amap.api.location.AMapLocation;

/**
 * Description : ABaseLocation.
 *
 * @author Young Ken
 * @date 16-12-9
 */
public class ABaseLocation extends BaseLocation {

    private AMapLocation mMapLocation = null;

    public ABaseLocation(AMapLocation location) {

        mMapLocation = location;
    }

    @Override
    public float getAccuracy() {

        return mMapLocation.getAccuracy();
    }

    @Override
    public double getAltitude() {

        return mMapLocation.getAltitude();
    }

    @Override
    public double getLatitude() {

        return mMapLocation.getLatitude();
    }

    @Override
    public double getLongitude() {

        return mMapLocation.getLongitude();
    }

    @Override
    public float getSpeed() {

        return mMapLocation.getSpeed();
    }

    @Override
    public long getTime() {

        return mMapLocation.getTime();
    }

    @Override
    public int getSatellites() {

        return mMapLocation.getSatellites();
    }

    @Override
    public String getAddress() {
        return mMapLocation.getAddress();
    }

    @Override
    public String getStreet() {
        return mMapLocation.getStreet();
    }

    @Override
    public String getDistrict() {
        return mMapLocation.getDistrict();
    }

    @Override
    public String getProvince() {
        return mMapLocation.getProvince();
    }

    @Override
    public String getCity() {
        return mMapLocation.getCity();
    }

    @Override
    public int getTrustedLevel() {
        return mMapLocation.getTrustedLevel();
    }
}
